\hypertarget{group___video_text}{
\section{VideoText}
\label{group___video_text}\index{VideoText@{VideoText}}
}
\subsection*{Usefull functions}
\label{_amgrpc1a8ddfe14477d59fa213a4623a678bb}
 \begin{DoxyCompactItemize}
\item 
\hyperlink{group___user_types_ga39db6982619d623273fad8a383489309}{Bool} \hyperlink{group___video_text_gaa57acc96a0a70498025a2027fba89536}{printCharAt} (char ch, int x, int y, char attributes)
\item 
\hyperlink{group___user_types_ga39db6982619d623273fad8a383489309}{Bool} \hyperlink{group___video_text_ga0313826471a670c22f918e8f2321ed42}{printStringAt} (char $\ast$str, int x, int y, char attributes)
\item 
\hyperlink{group___user_types_ga39db6982619d623273fad8a383489309}{Bool} \hyperlink{group___video_text_ga6a34b0b18d5e443e272a66262d15bb1a}{printIntAt} (int num, int x, int y, char attributes)
\item 
\hypertarget{group___video_text_gacc179fa9baef704a6da640d0b51282fe}{
void {\bfseries desenhaSnake} (int x, int y, char attributes)}
\label{group___video_text_gacc179fa9baef704a6da640d0b51282fe}

\item 
\hypertarget{group___video_text_gaffc01fc771a26576c310f1f19b60b16d}{
void {\bfseries cls} (char c, char attrib)}
\label{group___video_text_gaffc01fc771a26576c310f1f19b60b16d}

\end{DoxyCompactItemize}
\subsection*{Screen and video memory definitions in text mode}
\label{_amgrpde283e0ecf193292c6802d7683994226}
 \begin{DoxyCompactItemize}
\item 
\hypertarget{group___video_text_ga68707f77202e77a891e4f56e1f9b0219}{
\#define \hyperlink{group___video_text_ga68707f77202e77a891e4f56e1f9b0219}{VIDEO\_\-TEXT}~0xB8000}
\label{group___video_text_ga68707f77202e77a891e4f56e1f9b0219}

\begin{DoxyCompactList}\small\item\em Video address in text mode. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_ga241aeeb764887ae5e3de58b98f04b16d}{
\#define \hyperlink{group___video_text_ga241aeeb764887ae5e3de58b98f04b16d}{WIDTH}~80}
\label{group___video_text_ga241aeeb764887ae5e3de58b98f04b16d}

\begin{DoxyCompactList}\small\item\em Number of rows. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_gaed89bd71aee8be823e8a20ec4e093c1e}{
\#define \hyperlink{group___video_text_gaed89bd71aee8be823e8a20ec4e093c1e}{HEIGHT}~25}
\label{group___video_text_gaed89bd71aee8be823e8a20ec4e093c1e}

\begin{DoxyCompactList}\small\item\em Number of columns. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Bit meaning in attribute byte}
\label{_amgrpa6083135d7f78e4556dc20b0e06144aa}
 (see color definitions in system header file conio.h) \begin{DoxyCompactItemize}
\item 
\hypertarget{group___video_text_gaf033cdad58c0882be7d5f4f6e8e51cc5}{
\#define \hyperlink{group___video_text_gaf033cdad58c0882be7d5f4f6e8e51cc5}{BLUE\_\-FOREG}~(1 $<$$<$ 0)}
\label{group___video_text_gaf033cdad58c0882be7d5f4f6e8e51cc5}

\begin{DoxyCompactList}\small\item\em Foreground blue bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_ga6930edb189b477929f9860eb18f9eb28}{
\#define \hyperlink{group___video_text_ga6930edb189b477929f9860eb18f9eb28}{GREEN\_\-FOREG}~(1 $<$$<$ 1)}
\label{group___video_text_ga6930edb189b477929f9860eb18f9eb28}

\begin{DoxyCompactList}\small\item\em Foreground green bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_gafdb9aad619ebc55ef35dbca7d3d29f67}{
\#define \hyperlink{group___video_text_gafdb9aad619ebc55ef35dbca7d3d29f67}{RED\_\-FOREG}~(1 $<$$<$ 2)}
\label{group___video_text_gafdb9aad619ebc55ef35dbca7d3d29f67}

\begin{DoxyCompactList}\small\item\em Foreground red bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_gaefba0529f534f0403d79db250c5e266f}{
\#define \hyperlink{group___video_text_gaefba0529f534f0403d79db250c5e266f}{STRONG}~(1 $<$$<$ 3)}
\label{group___video_text_gaefba0529f534f0403d79db250c5e266f}

\begin{DoxyCompactList}\small\item\em Foreground intensity bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_ga38779351433b604698f05e98c6c85f3c}{
\#define \hyperlink{group___video_text_ga38779351433b604698f05e98c6c85f3c}{BLUE\_\-BACK}~(1 $<$$<$ 4)}
\label{group___video_text_ga38779351433b604698f05e98c6c85f3c}

\begin{DoxyCompactList}\small\item\em Background blue bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_ga8d30d8ed6e3aa0e1ed94a55d10098668}{
\#define \hyperlink{group___video_text_ga8d30d8ed6e3aa0e1ed94a55d10098668}{GREEN\_\-BACK}~(1 $<$$<$ 5)}
\label{group___video_text_ga8d30d8ed6e3aa0e1ed94a55d10098668}

\begin{DoxyCompactList}\small\item\em Background gren bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_gaba6c0183ebb09921a6cbb31fd143310b}{
\#define \hyperlink{group___video_text_gaba6c0183ebb09921a6cbb31fd143310b}{RED\_\-BACK}~(1 $<$$<$ 6)}
\label{group___video_text_gaba6c0183ebb09921a6cbb31fd143310b}

\begin{DoxyCompactList}\small\item\em Background red bit. \item\end{DoxyCompactList}\item 
\hypertarget{group___video_text_ga1291f416b069313021b519eea62d5bf1}{
\#define \hyperlink{group___video_text_ga1291f416b069313021b519eea62d5bf1}{NORMAL}~(RED\_\-FOREG $|$ GREEN\_\-FOREG $|$ BLUE\_\-FOREG)}
\label{group___video_text_ga1291f416b069313021b519eea62d5bf1}

\begin{DoxyCompactList}\small\item\em handy definition \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Video in text mode definitions 

\subsection{Function Documentation}
\hypertarget{group___video_text_gaa57acc96a0a70498025a2027fba89536}{
\index{VideoText@{VideoText}!printCharAt@{printCharAt}}
\index{printCharAt@{printCharAt}!VideoText@{VideoText}}
\subsubsection[{printCharAt}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Bool} printCharAt (char {\em ch}, \/  int {\em x}, \/  int {\em y}, \/  char {\em attributes})}}
\label{group___video_text_gaa57acc96a0a70498025a2027fba89536}
Print character ch at position x,y with attributes return true if sucessfull \hypertarget{group___video_text_ga6a34b0b18d5e443e272a66262d15bb1a}{
\index{VideoText@{VideoText}!printIntAt@{printIntAt}}
\index{printIntAt@{printIntAt}!VideoText@{VideoText}}
\subsubsection[{printIntAt}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Bool} printIntAt (int {\em num}, \/  int {\em x}, \/  int {\em y}, \/  char {\em attributes})}}
\label{group___video_text_ga6a34b0b18d5e443e272a66262d15bb1a}
Print integer num at position x,y with attributes. No C library function is used. return true if sucessfull \hypertarget{group___video_text_ga0313826471a670c22f918e8f2321ed42}{
\index{VideoText@{VideoText}!printStringAt@{printStringAt}}
\index{printStringAt@{printStringAt}!VideoText@{VideoText}}
\subsubsection[{printStringAt}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Bool} printStringAt (char $\ast$ {\em str}, \/  int {\em x}, \/  int {\em y}, \/  char {\em attributes})}}
\label{group___video_text_ga0313826471a670c22f918e8f2321ed42}
Print character array str at position x,y with attributes return true if sucessfull 